#include "Exception.h"

namespace FPTK{

Exception::Exception(const char *_where,const char *_what)
{
    __what.assign(_what);
    __where.assign(_where);
}

Exception::Exception(const Exception& ex)
{
    __what.assign(ex.What());
    __where.assign(ex.Where());
}


Exception::~Exception()
{
}

const std::string Exception::What() const
{
    //const std::string tmp=__what;
    return __what;//tmp;
}

const std::string Exception::Where() const
{
    return __where;
}

}//end of namespace FPTK